package com.drawingtimer.admin.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 工序信息分页视图对象
 *
 * @author jjh 2025-04-24 16:34:17
 */
@Data
@Schema(title = "工序信息分页视图对象")
public class TProcessInfoPageVO {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@Schema(title = "ID")
	private Long id;

	/**
	 * 流转卡号
	 */
	@Schema(title = "流转卡号")
	private String flowCardNumber;

	/**
	 * 工序序号
	 */
	@Schema(title = "工序序号")
	private Integer processSequence;

	/**
	 * 工序编码
	 */
	@Schema(title = "工序编码")
	private String processCode;

	/**
	 * 工序名称
	 */
	@Schema(title = "工序名称")
	private String processName;

	/**
	 * 准备工时
	 */
	@Schema(title = "准备工时")
	private BigDecimal setupTime;

	/**
	 * 标准工时
	 */
	@Schema(title = "标准工时")
	private BigDecimal standardTime;

	/**
	 * 总数量
	 */
	@Schema(title = "总数量")
	private Long totalQuantity;

	/**
	 * 完工数量
	 */
	@Schema(title = "完工数量")
	private Long completedQuantity;

	/**
	 * 报废数量
	 */
	@Schema(title = "报废数量")
	private Long scrappedQuantity;

	/**
	 * 状态
	 */
	@Schema(title = "状态")
	private Integer status;

	@TableField(exist = false)
	private LocalDateTime startTime;

	@TableField(exist = false)
	private LocalDateTime endTime;

	@TableField(exist = false)
	private Long totalTimeConsumption;

	@TableField(exist = false)
	private LocalDateTime pauseStart;

	@TableField(exist = false)
	private LocalDateTime pauseEnd;

	@TableField(exist = false)
	private Boolean isPaused;

	@TableField(exist = false)
	private Long pauseId;

	@TableField(exist = false)
	private Long originalTotalTimeConsumption;

	@TableField(exist = false)
	private String statusMsg;

	@TableField(exist = false)
	private String reportEmployeeId;

}